package com.kxmall.huishou.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.kxmall.huishou.domain.HsRecyclerApply;
import com.kxmall.huishou.domain.vo.HsRecyclerApplyVo;
import com.kxmall.huishou.domain.bo.HsRecyclerApplyBo;
import com.kxmall.common.core.page.TableDataInfo;
import com.kxmall.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 回收员申请信息Service接口
 *
 * @author kxmall
 * @date 2023-11-24
 */
public interface IHsRecyclerApplyService {

    /**
     * 查询回收员申请信息
     */
    HsRecyclerApplyVo queryById(Long id);

    /**
     * 查询回收员申请信息列表
     */
    TableDataInfo<HsRecyclerApplyVo> queryPageList(HsRecyclerApplyBo bo, PageQuery pageQuery);

    /**
     * 查询回收员申请信息列表
     */
    List<HsRecyclerApplyVo> queryList(HsRecyclerApplyBo bo);

    /**
     * 新增回收员申请信息
     */
    Boolean insertByBo(HsRecyclerApplyBo bo);

    /**
     * 修改回收员申请信息
     */
    Boolean updateByBo(HsRecyclerApplyBo bo);

    /**
     * 校验并批量删除回收员申请信息信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);

    /**
     * 审批申请信息
     */
    Boolean editByBo(HsRecyclerApplyBo bo);

    /**
     * 查询回收员申请信息
     */
    HsRecyclerApplyVo queryByWrapper(QueryWrapper<HsRecyclerApply> queryWrapper);

}
